Package org.mozilla.jss.pkix.primitive
Class PBMAC1Params.Template
java.lang.Object
org.mozilla.jss.pkix.primitive.PBMAC1Params.Template
- All Implemented Interfaces:
ASN1Template
- Enclosing class:
PBMAC1Params
A template class for decoding PBMAC1Params.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(InputStream istream) Decodes a PBMAC1Params from the input stream.decode(Tag implicitTag, InputStream istream) Decodes a PBMAC1Params with an implicit tag.booleanReturns whether the given tag matches this template.
-
Field Details
-
seqt
-
-
Constructor Details
-
Template
public Template()Creates a new PBMAC1Params template.
-
-
Method Details
-
tagMatch
Returns whether the given tag matches this template.- Specified by:
tagMatchin interfaceASN1Template- Parameters:
tag- The tag to check- Returns:
- true if the tag matches
-
decode
Decodes a PBMAC1Params from the input stream.- Specified by:
decodein interfaceASN1Template- Parameters:
istream- The input stream- Returns:
- The decoded PBMAC1Params
- Throws:
InvalidBERException- if decoding failsIOException- if an I/O error occurs
-
decode
public ASN1Value decode(Tag implicitTag, InputStream istream) throws InvalidBERException, IOException Decodes a PBMAC1Params with an implicit tag.- Specified by:
decodein interfaceASN1Template- Parameters:
implicitTag- The implicit tagistream- The input stream- Returns:
- The decoded PBMAC1Params
- Throws:
InvalidBERException- if decoding failsIOException- if an I/O error occurs
-